package com.wang.todoList.constant;

/**
 * 项目用到的常量
 * @author Zifan
 * @date 2021年07月10日16:17
 */
public class BaseConstant {
    /**jwt密钥*/
    public static final String JWT_KEY = "春宵苦短，少女前进吧！四叠半神话大系";
    /**密码密钥*/
    public static final String PASSWORD_KEY = "白也诗无敌，人间醉得意。";
    /**jwt失效时间，单位（日） 1天后失效*/
    public static final Integer JWT_FAILURE_DAY = 1;
    /**请求成功码值*/
    public static final String REQUEST_SUCCESS = "200";
    /**请求失败码值*/
    public static final String REQUEST_FAILURE = "999";
    /**token验证失败码值，无权限，登录过期*/
    public static final String REQUEST_NO_ACCESS = "777";


    /**待办*/
    public static final Integer TODO_STATUS_TODO = 1;
    /**已完成*/
    public static final Integer TODO_STATUS_COMPLETE = 2;
    /**取消*/
    public static final Integer TODO_STATUS_GIVE_UP = 3;
    /**删除*/
    public static final Integer TODO_STATUS_DELETE = 4;


}
